package com.ryl;

//员工 
public abstract class Employee{
	public abstract void work();//抽象函数。需要abstract修饰，并分号;结束

	public static int get() {
		return 0;
	}
}

//manager
class Teacher extends Employee {
	@Override
	public void work() {

	}
//	public  void work() {
//		System.out.println("正在赋予权限");
//	}
}

//customer
class Assistant extends Employee {
	public void work() {
		System.out.println("正在使用该系统");
	}
}

//开发人员
class Manager extends Employee {
	public  void work() {
		System.out.println ( "正在维护此系统" );
	}
}
